package com.hotel.test;

import static org.junit.Assert.*;

import java.sql.SQLException;

import org.junit.Test;

import com.hotel.bean.Regist;
import com.hotel.dao.UserDao;
import com.hotel.dao.impl.UserDaoImpl;

public class Dao {
	UserDao us = new UserDaoImpl();
	@Test
	public void test() {
		Regist t = new Regist("111",111,"111");
		try {
			us.insert(t);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}

}
